package com.suyuan.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import java.util.List;

public class FeedsinExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public FeedsinExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        protected void addCriterionForJDBCDate(String condition, Date value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value.getTime()), property);
        }

        protected void addCriterionForJDBCDate(String condition, List<Date> values, String property) {
            if (values == null || values.size() == 0) {
                throw new RuntimeException("Value list for " + property + " cannot be null or empty");
            }
            List<java.sql.Date> dateList = new ArrayList<java.sql.Date>();
            Iterator<Date> iter = values.iterator();
            while (iter.hasNext()) {
                dateList.add(new java.sql.Date(iter.next().getTime()));
            }
            addCriterion(condition, dateList, property);
        }

        protected void addCriterionForJDBCDate(String condition, Date value1, Date value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value1.getTime()), new java.sql.Date(value2.getTime()), property);
        }

        public Criteria andInstoreidIsNull() {
            addCriterion("InStoreID is null");
            return (Criteria) this;
        }

        public Criteria andInstoreidIsNotNull() {
            addCriterion("InStoreID is not null");
            return (Criteria) this;
        }

        public Criteria andInstoreidEqualTo(Integer value) {
            addCriterion("InStoreID =", value, "instoreid");
            return (Criteria) this;
        }

        public Criteria andInstoreidNotEqualTo(Integer value) {
            addCriterion("InStoreID <>", value, "instoreid");
            return (Criteria) this;
        }

        public Criteria andInstoreidGreaterThan(Integer value) {
            addCriterion("InStoreID >", value, "instoreid");
            return (Criteria) this;
        }

        public Criteria andInstoreidGreaterThanOrEqualTo(Integer value) {
            addCriterion("InStoreID >=", value, "instoreid");
            return (Criteria) this;
        }

        public Criteria andInstoreidLessThan(Integer value) {
            addCriterion("InStoreID <", value, "instoreid");
            return (Criteria) this;
        }

        public Criteria andInstoreidLessThanOrEqualTo(Integer value) {
            addCriterion("InStoreID <=", value, "instoreid");
            return (Criteria) this;
        }

        public Criteria andInstoreidIn(List<Integer> values) {
            addCriterion("InStoreID in", values, "instoreid");
            return (Criteria) this;
        }

        public Criteria andInstoreidNotIn(List<Integer> values) {
            addCriterion("InStoreID not in", values, "instoreid");
            return (Criteria) this;
        }

        public Criteria andInstoreidBetween(Integer value1, Integer value2) {
            addCriterion("InStoreID between", value1, value2, "instoreid");
            return (Criteria) this;
        }

        public Criteria andInstoreidNotBetween(Integer value1, Integer value2) {
            addCriterion("InStoreID not between", value1, value2, "instoreid");
            return (Criteria) this;
        }

        public Criteria andFeedidIsNull() {
            addCriterion("FeedID is null");
            return (Criteria) this;
        }

        public Criteria andFeedidIsNotNull() {
            addCriterion("FeedID is not null");
            return (Criteria) this;
        }

        public Criteria andFeedidEqualTo(Integer value) {
            addCriterion("FeedID =", value, "feedid");
            return (Criteria) this;
        }

        public Criteria andFeedidNotEqualTo(Integer value) {
            addCriterion("FeedID <>", value, "feedid");
            return (Criteria) this;
        }

        public Criteria andFeedidGreaterThan(Integer value) {
            addCriterion("FeedID >", value, "feedid");
            return (Criteria) this;
        }

        public Criteria andFeedidGreaterThanOrEqualTo(Integer value) {
            addCriterion("FeedID >=", value, "feedid");
            return (Criteria) this;
        }

        public Criteria andFeedidLessThan(Integer value) {
            addCriterion("FeedID <", value, "feedid");
            return (Criteria) this;
        }

        public Criteria andFeedidLessThanOrEqualTo(Integer value) {
            addCriterion("FeedID <=", value, "feedid");
            return (Criteria) this;
        }

        public Criteria andFeedidIn(List<Integer> values) {
            addCriterion("FeedID in", values, "feedid");
            return (Criteria) this;
        }

        public Criteria andFeedidNotIn(List<Integer> values) {
            addCriterion("FeedID not in", values, "feedid");
            return (Criteria) this;
        }

        public Criteria andFeedidBetween(Integer value1, Integer value2) {
            addCriterion("FeedID between", value1, value2, "feedid");
            return (Criteria) this;
        }

        public Criteria andFeedidNotBetween(Integer value1, Integer value2) {
            addCriterion("FeedID not between", value1, value2, "feedid");
            return (Criteria) this;
        }

        public Criteria andFeednameIsNull() {
            addCriterion("FeedName is null");
            return (Criteria) this;
        }

        public Criteria andFeednameIsNotNull() {
            addCriterion("FeedName is not null");
            return (Criteria) this;
        }

        public Criteria andFeednameEqualTo(String value) {
            addCriterion("FeedName =", value, "feedname");
            return (Criteria) this;
        }

        public Criteria andFeednameNotEqualTo(String value) {
            addCriterion("FeedName <>", value, "feedname");
            return (Criteria) this;
        }

        public Criteria andFeednameGreaterThan(String value) {
            addCriterion("FeedName >", value, "feedname");
            return (Criteria) this;
        }

        public Criteria andFeednameGreaterThanOrEqualTo(String value) {
            addCriterion("FeedName >=", value, "feedname");
            return (Criteria) this;
        }

        public Criteria andFeednameLessThan(String value) {
            addCriterion("FeedName <", value, "feedname");
            return (Criteria) this;
        }

        public Criteria andFeednameLessThanOrEqualTo(String value) {
            addCriterion("FeedName <=", value, "feedname");
            return (Criteria) this;
        }

        public Criteria andFeednameLike(String value) {
            addCriterion("FeedName like", value, "feedname");
            return (Criteria) this;
        }

        public Criteria andFeednameNotLike(String value) {
            addCriterion("FeedName not like", value, "feedname");
            return (Criteria) this;
        }

        public Criteria andFeednameIn(List<String> values) {
            addCriterion("FeedName in", values, "feedname");
            return (Criteria) this;
        }

        public Criteria andFeednameNotIn(List<String> values) {
            addCriterion("FeedName not in", values, "feedname");
            return (Criteria) this;
        }

        public Criteria andFeednameBetween(String value1, String value2) {
            addCriterion("FeedName between", value1, value2, "feedname");
            return (Criteria) this;
        }

        public Criteria andFeednameNotBetween(String value1, String value2) {
            addCriterion("FeedName not between", value1, value2, "feedname");
            return (Criteria) this;
        }

        public Criteria andProducedateIsNull() {
            addCriterion("ProduceDate is null");
            return (Criteria) this;
        }

        public Criteria andProducedateIsNotNull() {
            addCriterion("ProduceDate is not null");
            return (Criteria) this;
        }

        public Criteria andProducedateEqualTo(Date value) {
            addCriterionForJDBCDate("ProduceDate =", value, "producedate");
            return (Criteria) this;
        }

        public Criteria andProducedateNotEqualTo(Date value) {
            addCriterionForJDBCDate("ProduceDate <>", value, "producedate");
            return (Criteria) this;
        }

        public Criteria andProducedateGreaterThan(Date value) {
            addCriterionForJDBCDate("ProduceDate >", value, "producedate");
            return (Criteria) this;
        }

        public Criteria andProducedateGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("ProduceDate >=", value, "producedate");
            return (Criteria) this;
        }

        public Criteria andProducedateLessThan(Date value) {
            addCriterionForJDBCDate("ProduceDate <", value, "producedate");
            return (Criteria) this;
        }

        public Criteria andProducedateLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("ProduceDate <=", value, "producedate");
            return (Criteria) this;
        }

        public Criteria andProducedateIn(List<Date> values) {
            addCriterionForJDBCDate("ProduceDate in", values, "producedate");
            return (Criteria) this;
        }

        public Criteria andProducedateNotIn(List<Date> values) {
            addCriterionForJDBCDate("ProduceDate not in", values, "producedate");
            return (Criteria) this;
        }

        public Criteria andProducedateBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("ProduceDate between", value1, value2, "producedate");
            return (Criteria) this;
        }

        public Criteria andProducedateNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("ProduceDate not between", value1, value2, "producedate");
            return (Criteria) this;
        }

        public Criteria andExpiredateIsNull() {
            addCriterion("ExpireDate is null");
            return (Criteria) this;
        }

        public Criteria andExpiredateIsNotNull() {
            addCriterion("ExpireDate is not null");
            return (Criteria) this;
        }

        public Criteria andExpiredateEqualTo(Date value) {
            addCriterionForJDBCDate("ExpireDate =", value, "expiredate");
            return (Criteria) this;
        }

        public Criteria andExpiredateNotEqualTo(Date value) {
            addCriterionForJDBCDate("ExpireDate <>", value, "expiredate");
            return (Criteria) this;
        }

        public Criteria andExpiredateGreaterThan(Date value) {
            addCriterionForJDBCDate("ExpireDate >", value, "expiredate");
            return (Criteria) this;
        }

        public Criteria andExpiredateGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("ExpireDate >=", value, "expiredate");
            return (Criteria) this;
        }

        public Criteria andExpiredateLessThan(Date value) {
            addCriterionForJDBCDate("ExpireDate <", value, "expiredate");
            return (Criteria) this;
        }

        public Criteria andExpiredateLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("ExpireDate <=", value, "expiredate");
            return (Criteria) this;
        }

        public Criteria andExpiredateIn(List<Date> values) {
            addCriterionForJDBCDate("ExpireDate in", values, "expiredate");
            return (Criteria) this;
        }

        public Criteria andExpiredateNotIn(List<Date> values) {
            addCriterionForJDBCDate("ExpireDate not in", values, "expiredate");
            return (Criteria) this;
        }

        public Criteria andExpiredateBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("ExpireDate between", value1, value2, "expiredate");
            return (Criteria) this;
        }

        public Criteria andExpiredateNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("ExpireDate not between", value1, value2, "expiredate");
            return (Criteria) this;
        }

        public Criteria andDeposittimeIsNull() {
            addCriterion("DepositTime is null");
            return (Criteria) this;
        }

        public Criteria andDeposittimeIsNotNull() {
            addCriterion("DepositTime is not null");
            return (Criteria) this;
        }

        public Criteria andDeposittimeEqualTo(Date value) {
            addCriterionForJDBCDate("DepositTime =", value, "deposittime");
            return (Criteria) this;
        }

        public Criteria andDeposittimeNotEqualTo(Date value) {
            addCriterionForJDBCDate("DepositTime <>", value, "deposittime");
            return (Criteria) this;
        }

        public Criteria andDeposittimeGreaterThan(Date value) {
            addCriterionForJDBCDate("DepositTime >", value, "deposittime");
            return (Criteria) this;
        }

        public Criteria andDeposittimeGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("DepositTime >=", value, "deposittime");
            return (Criteria) this;
        }

        public Criteria andDeposittimeLessThan(Date value) {
            addCriterionForJDBCDate("DepositTime <", value, "deposittime");
            return (Criteria) this;
        }

        public Criteria andDeposittimeLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("DepositTime <=", value, "deposittime");
            return (Criteria) this;
        }

        public Criteria andDeposittimeIn(List<Date> values) {
            addCriterionForJDBCDate("DepositTime in", values, "deposittime");
            return (Criteria) this;
        }

        public Criteria andDeposittimeNotIn(List<Date> values) {
            addCriterionForJDBCDate("DepositTime not in", values, "deposittime");
            return (Criteria) this;
        }

        public Criteria andDeposittimeBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("DepositTime between", value1, value2, "deposittime");
            return (Criteria) this;
        }

        public Criteria andDeposittimeNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("DepositTime not between", value1, value2, "deposittime");
            return (Criteria) this;
        }

        public Criteria andQuantityIsNull() {
            addCriterion("Quantity is null");
            return (Criteria) this;
        }

        public Criteria andQuantityIsNotNull() {
            addCriterion("Quantity is not null");
            return (Criteria) this;
        }

        public Criteria andQuantityEqualTo(Float value) {
            addCriterion("Quantity =", value, "quantity");
            return (Criteria) this;
        }

        public Criteria andQuantityNotEqualTo(Float value) {
            addCriterion("Quantity <>", value, "quantity");
            return (Criteria) this;
        }

        public Criteria andQuantityGreaterThan(Float value) {
            addCriterion("Quantity >", value, "quantity");
            return (Criteria) this;
        }

        public Criteria andQuantityGreaterThanOrEqualTo(Float value) {
            addCriterion("Quantity >=", value, "quantity");
            return (Criteria) this;
        }

        public Criteria andQuantityLessThan(Float value) {
            addCriterion("Quantity <", value, "quantity");
            return (Criteria) this;
        }

        public Criteria andQuantityLessThanOrEqualTo(Float value) {
            addCriterion("Quantity <=", value, "quantity");
            return (Criteria) this;
        }

        public Criteria andQuantityIn(List<Float> values) {
            addCriterion("Quantity in", values, "quantity");
            return (Criteria) this;
        }

        public Criteria andQuantityNotIn(List<Float> values) {
            addCriterion("Quantity not in", values, "quantity");
            return (Criteria) this;
        }

        public Criteria andQuantityBetween(Float value1, Float value2) {
            addCriterion("Quantity between", value1, value2, "quantity");
            return (Criteria) this;
        }

        public Criteria andQuantityNotBetween(Float value1, Float value2) {
            addCriterion("Quantity not between", value1, value2, "quantity");
            return (Criteria) this;
        }

        public Criteria andUnitIsNull() {
            addCriterion("unit is null");
            return (Criteria) this;
        }

        public Criteria andUnitIsNotNull() {
            addCriterion("unit is not null");
            return (Criteria) this;
        }

        public Criteria andUnitEqualTo(String value) {
            addCriterion("unit =", value, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitNotEqualTo(String value) {
            addCriterion("unit <>", value, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitGreaterThan(String value) {
            addCriterion("unit >", value, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitGreaterThanOrEqualTo(String value) {
            addCriterion("unit >=", value, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitLessThan(String value) {
            addCriterion("unit <", value, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitLessThanOrEqualTo(String value) {
            addCriterion("unit <=", value, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitLike(String value) {
            addCriterion("unit like", value, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitNotLike(String value) {
            addCriterion("unit not like", value, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitIn(List<String> values) {
            addCriterion("unit in", values, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitNotIn(List<String> values) {
            addCriterion("unit not in", values, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitBetween(String value1, String value2) {
            addCriterion("unit between", value1, value2, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitNotBetween(String value1, String value2) {
            addCriterion("unit not between", value1, value2, "unit");
            return (Criteria) this;
        }

        public Criteria andEachoneIsNull() {
            addCriterion("eachone is null");
            return (Criteria) this;
        }

        public Criteria andEachoneIsNotNull() {
            addCriterion("eachone is not null");
            return (Criteria) this;
        }

        public Criteria andEachoneEqualTo(Float value) {
            addCriterion("eachone =", value, "eachone");
            return (Criteria) this;
        }

        public Criteria andEachoneNotEqualTo(Float value) {
            addCriterion("eachone <>", value, "eachone");
            return (Criteria) this;
        }

        public Criteria andEachoneGreaterThan(Float value) {
            addCriterion("eachone >", value, "eachone");
            return (Criteria) this;
        }

        public Criteria andEachoneGreaterThanOrEqualTo(Float value) {
            addCriterion("eachone >=", value, "eachone");
            return (Criteria) this;
        }

        public Criteria andEachoneLessThan(Float value) {
            addCriterion("eachone <", value, "eachone");
            return (Criteria) this;
        }

        public Criteria andEachoneLessThanOrEqualTo(Float value) {
            addCriterion("eachone <=", value, "eachone");
            return (Criteria) this;
        }

        public Criteria andEachoneIn(List<Float> values) {
            addCriterion("eachone in", values, "eachone");
            return (Criteria) this;
        }

        public Criteria andEachoneNotIn(List<Float> values) {
            addCriterion("eachone not in", values, "eachone");
            return (Criteria) this;
        }

        public Criteria andEachoneBetween(Float value1, Float value2) {
            addCriterion("eachone between", value1, value2, "eachone");
            return (Criteria) this;
        }

        public Criteria andEachoneNotBetween(Float value1, Float value2) {
            addCriterion("eachone not between", value1, value2, "eachone");
            return (Criteria) this;
        }

        public Criteria andTotalIsNull() {
            addCriterion("total is null");
            return (Criteria) this;
        }

        public Criteria andTotalIsNotNull() {
            addCriterion("total is not null");
            return (Criteria) this;
        }

        public Criteria andTotalEqualTo(Float value) {
            addCriterion("total =", value, "total");
            return (Criteria) this;
        }

        public Criteria andTotalNotEqualTo(Float value) {
            addCriterion("total <>", value, "total");
            return (Criteria) this;
        }

        public Criteria andTotalGreaterThan(Float value) {
            addCriterion("total >", value, "total");
            return (Criteria) this;
        }

        public Criteria andTotalGreaterThanOrEqualTo(Float value) {
            addCriterion("total >=", value, "total");
            return (Criteria) this;
        }

        public Criteria andTotalLessThan(Float value) {
            addCriterion("total <", value, "total");
            return (Criteria) this;
        }

        public Criteria andTotalLessThanOrEqualTo(Float value) {
            addCriterion("total <=", value, "total");
            return (Criteria) this;
        }

        public Criteria andTotalIn(List<Float> values) {
            addCriterion("total in", values, "total");
            return (Criteria) this;
        }

        public Criteria andTotalNotIn(List<Float> values) {
            addCriterion("total not in", values, "total");
            return (Criteria) this;
        }

        public Criteria andTotalBetween(Float value1, Float value2) {
            addCriterion("total between", value1, value2, "total");
            return (Criteria) this;
        }

        public Criteria andTotalNotBetween(Float value1, Float value2) {
            addCriterion("total not between", value1, value2, "total");
            return (Criteria) this;
        }

        public Criteria andDiscountIsNull() {
            addCriterion("Discount is null");
            return (Criteria) this;
        }

        public Criteria andDiscountIsNotNull() {
            addCriterion("Discount is not null");
            return (Criteria) this;
        }

        public Criteria andDiscountEqualTo(Float value) {
            addCriterion("Discount =", value, "discount");
            return (Criteria) this;
        }

        public Criteria andDiscountNotEqualTo(Float value) {
            addCriterion("Discount <>", value, "discount");
            return (Criteria) this;
        }

        public Criteria andDiscountGreaterThan(Float value) {
            addCriterion("Discount >", value, "discount");
            return (Criteria) this;
        }

        public Criteria andDiscountGreaterThanOrEqualTo(Float value) {
            addCriterion("Discount >=", value, "discount");
            return (Criteria) this;
        }

        public Criteria andDiscountLessThan(Float value) {
            addCriterion("Discount <", value, "discount");
            return (Criteria) this;
        }

        public Criteria andDiscountLessThanOrEqualTo(Float value) {
            addCriterion("Discount <=", value, "discount");
            return (Criteria) this;
        }

        public Criteria andDiscountIn(List<Float> values) {
            addCriterion("Discount in", values, "discount");
            return (Criteria) this;
        }

        public Criteria andDiscountNotIn(List<Float> values) {
            addCriterion("Discount not in", values, "discount");
            return (Criteria) this;
        }

        public Criteria andDiscountBetween(Float value1, Float value2) {
            addCriterion("Discount between", value1, value2, "discount");
            return (Criteria) this;
        }

        public Criteria andDiscountNotBetween(Float value1, Float value2) {
            addCriterion("Discount not between", value1, value2, "discount");
            return (Criteria) this;
        }

        public Criteria andFinaltotalIsNull() {
            addCriterion("finalTotal is null");
            return (Criteria) this;
        }

        public Criteria andFinaltotalIsNotNull() {
            addCriterion("finalTotal is not null");
            return (Criteria) this;
        }

        public Criteria andFinaltotalEqualTo(Float value) {
            addCriterion("finalTotal =", value, "finaltotal");
            return (Criteria) this;
        }

        public Criteria andFinaltotalNotEqualTo(Float value) {
            addCriterion("finalTotal <>", value, "finaltotal");
            return (Criteria) this;
        }

        public Criteria andFinaltotalGreaterThan(Float value) {
            addCriterion("finalTotal >", value, "finaltotal");
            return (Criteria) this;
        }

        public Criteria andFinaltotalGreaterThanOrEqualTo(Float value) {
            addCriterion("finalTotal >=", value, "finaltotal");
            return (Criteria) this;
        }

        public Criteria andFinaltotalLessThan(Float value) {
            addCriterion("finalTotal <", value, "finaltotal");
            return (Criteria) this;
        }

        public Criteria andFinaltotalLessThanOrEqualTo(Float value) {
            addCriterion("finalTotal <=", value, "finaltotal");
            return (Criteria) this;
        }

        public Criteria andFinaltotalIn(List<Float> values) {
            addCriterion("finalTotal in", values, "finaltotal");
            return (Criteria) this;
        }

        public Criteria andFinaltotalNotIn(List<Float> values) {
            addCriterion("finalTotal not in", values, "finaltotal");
            return (Criteria) this;
        }

        public Criteria andFinaltotalBetween(Float value1, Float value2) {
            addCriterion("finalTotal between", value1, value2, "finaltotal");
            return (Criteria) this;
        }

        public Criteria andFinaltotalNotBetween(Float value1, Float value2) {
            addCriterion("finalTotal not between", value1, value2, "finaltotal");
            return (Criteria) this;
        }

        public Criteria andSendmanIsNull() {
            addCriterion("SendMan is null");
            return (Criteria) this;
        }

        public Criteria andSendmanIsNotNull() {
            addCriterion("SendMan is not null");
            return (Criteria) this;
        }

        public Criteria andSendmanEqualTo(String value) {
            addCriterion("SendMan =", value, "sendman");
            return (Criteria) this;
        }

        public Criteria andSendmanNotEqualTo(String value) {
            addCriterion("SendMan <>", value, "sendman");
            return (Criteria) this;
        }

        public Criteria andSendmanGreaterThan(String value) {
            addCriterion("SendMan >", value, "sendman");
            return (Criteria) this;
        }

        public Criteria andSendmanGreaterThanOrEqualTo(String value) {
            addCriterion("SendMan >=", value, "sendman");
            return (Criteria) this;
        }

        public Criteria andSendmanLessThan(String value) {
            addCriterion("SendMan <", value, "sendman");
            return (Criteria) this;
        }

        public Criteria andSendmanLessThanOrEqualTo(String value) {
            addCriterion("SendMan <=", value, "sendman");
            return (Criteria) this;
        }

        public Criteria andSendmanLike(String value) {
            addCriterion("SendMan like", value, "sendman");
            return (Criteria) this;
        }

        public Criteria andSendmanNotLike(String value) {
            addCriterion("SendMan not like", value, "sendman");
            return (Criteria) this;
        }

        public Criteria andSendmanIn(List<String> values) {
            addCriterion("SendMan in", values, "sendman");
            return (Criteria) this;
        }

        public Criteria andSendmanNotIn(List<String> values) {
            addCriterion("SendMan not in", values, "sendman");
            return (Criteria) this;
        }

        public Criteria andSendmanBetween(String value1, String value2) {
            addCriterion("SendMan between", value1, value2, "sendman");
            return (Criteria) this;
        }

        public Criteria andSendmanNotBetween(String value1, String value2) {
            addCriterion("SendMan not between", value1, value2, "sendman");
            return (Criteria) this;
        }

        public Criteria andStoremanIsNull() {
            addCriterion("Storeman is null");
            return (Criteria) this;
        }

        public Criteria andStoremanIsNotNull() {
            addCriterion("Storeman is not null");
            return (Criteria) this;
        }

        public Criteria andStoremanEqualTo(String value) {
            addCriterion("Storeman =", value, "storeman");
            return (Criteria) this;
        }

        public Criteria andStoremanNotEqualTo(String value) {
            addCriterion("Storeman <>", value, "storeman");
            return (Criteria) this;
        }

        public Criteria andStoremanGreaterThan(String value) {
            addCriterion("Storeman >", value, "storeman");
            return (Criteria) this;
        }

        public Criteria andStoremanGreaterThanOrEqualTo(String value) {
            addCriterion("Storeman >=", value, "storeman");
            return (Criteria) this;
        }

        public Criteria andStoremanLessThan(String value) {
            addCriterion("Storeman <", value, "storeman");
            return (Criteria) this;
        }

        public Criteria andStoremanLessThanOrEqualTo(String value) {
            addCriterion("Storeman <=", value, "storeman");
            return (Criteria) this;
        }

        public Criteria andStoremanLike(String value) {
            addCriterion("Storeman like", value, "storeman");
            return (Criteria) this;
        }

        public Criteria andStoremanNotLike(String value) {
            addCriterion("Storeman not like", value, "storeman");
            return (Criteria) this;
        }

        public Criteria andStoremanIn(List<String> values) {
            addCriterion("Storeman in", values, "storeman");
            return (Criteria) this;
        }

        public Criteria andStoremanNotIn(List<String> values) {
            addCriterion("Storeman not in", values, "storeman");
            return (Criteria) this;
        }

        public Criteria andStoremanBetween(String value1, String value2) {
            addCriterion("Storeman between", value1, value2, "storeman");
            return (Criteria) this;
        }

        public Criteria andStoremanNotBetween(String value1, String value2) {
            addCriterion("Storeman not between", value1, value2, "storeman");
            return (Criteria) this;
        }

        public Criteria andAreaidIsNull() {
            addCriterion("AreaID is null");
            return (Criteria) this;
        }

        public Criteria andAreaidIsNotNull() {
            addCriterion("AreaID is not null");
            return (Criteria) this;
        }

        public Criteria andAreaidEqualTo(Integer value) {
            addCriterion("AreaID =", value, "areaid");
            return (Criteria) this;
        }

        public Criteria andAreaidNotEqualTo(Integer value) {
            addCriterion("AreaID <>", value, "areaid");
            return (Criteria) this;
        }

        public Criteria andAreaidGreaterThan(Integer value) {
            addCriterion("AreaID >", value, "areaid");
            return (Criteria) this;
        }

        public Criteria andAreaidGreaterThanOrEqualTo(Integer value) {
            addCriterion("AreaID >=", value, "areaid");
            return (Criteria) this;
        }

        public Criteria andAreaidLessThan(Integer value) {
            addCriterion("AreaID <", value, "areaid");
            return (Criteria) this;
        }

        public Criteria andAreaidLessThanOrEqualTo(Integer value) {
            addCriterion("AreaID <=", value, "areaid");
            return (Criteria) this;
        }

        public Criteria andAreaidIn(List<Integer> values) {
            addCriterion("AreaID in", values, "areaid");
            return (Criteria) this;
        }

        public Criteria andAreaidNotIn(List<Integer> values) {
            addCriterion("AreaID not in", values, "areaid");
            return (Criteria) this;
        }

        public Criteria andAreaidBetween(Integer value1, Integer value2) {
            addCriterion("AreaID between", value1, value2, "areaid");
            return (Criteria) this;
        }

        public Criteria andAreaidNotBetween(Integer value1, Integer value2) {
            addCriterion("AreaID not between", value1, value2, "areaid");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("Remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("Remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("Remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("Remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("Remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("Remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("Remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("Remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("Remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("Remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("Remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("Remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("Remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("Remark not between", value1, value2, "remark");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}